<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: 2021/10/22
 * Time: 16:04
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

declare(strict_types=1);

namespace app\common\validate;


class Gui extends Base
{
    protected $rule = [
        "title" => "require",
        "money" => "require",
    ];
    protected $message = [
        "title.require" => "标题不能为空",
        "money.require" => "金额不能为空"
    ];
    protected $scene = [
        "add" => ["money", "title"]
    ];
}